package top.usts.springframework.beans.factory.config;

import top.usts.springframework.beans.factory.ConfigureableListableBeanFactory;

/**
 * @description:
 * Allows for custom modification of an application context's bean definitions,
 * adapting the bean property values of the context's underlying bean factory.
 *
 * 允许自定义修改 BeanDefinition 属性信息
 * @author: CJ
 * @date: 2022/2/23
 */
public interface BeanFactoryPostProcessor {


    /**
     * 在所有 BeanDefinition 加载完成后，实例化bean对象之前，提供修改 beanDefinition 属性机制
     * @param beanFactory
     */
    void postProcessBeanFactory(ConfigureableListableBeanFactory beanFactory);

}
